package com.moyu.crowdsource.mapperdao;

import com.moyu.crowdsource.entity.CommodityImage;
import com.moyu.crowdsource.entity.CommodityImageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommodityImageMapper {
    long countByExample(CommodityImageExample example);

    int deleteByExample(CommodityImageExample example);

    int deleteByPrimaryKey(String imageId);

    int insert(CommodityImage record);

    int insertSelective(CommodityImage record);

    List<CommodityImage> selectByExample(CommodityImageExample example);

    CommodityImage selectByPrimaryKey(String imageId);

    int updateByExampleSelective(@Param("record") CommodityImage record, @Param("example") CommodityImageExample example);

    int updateByExample(@Param("record") CommodityImage record, @Param("example") CommodityImageExample example);

    int updateByPrimaryKeySelective(CommodityImage record);

    int updateByPrimaryKey(CommodityImage record);
}